package com.huang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: huangzixiang
 * @CreateTime: 2022-11-23  17:03
 * @Description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("iot_device_attribute")
public class IotDeviceAttribute implements Serializable {
    private static final long serialVersionUID = -40356785423868312L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long parentId;

    List<IotDeviceAttribute> children;
}
